package cn.kgc.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel
@SuppressWarnings("all")
public class MenusUpdateForm implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "主键", dataType = "java.lang.String")
    private Long id;


    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", dataType = "java.lang.String")
    private String menuName;


    /**
     * 1菜单 2按钮
     */
    @ApiModelProperty(value = "1菜单 2按钮", dataType = "java.lang.Integer")
    private Integer menuType;


    /**
     * 菜单编码
     */
    @ApiModelProperty(value = "菜单编码", dataType = "java.lang.String")
    private String menuCode;


    /**
     * 组件
     */
    @ApiModelProperty(value = "组件", dataType = "java.lang.String")
    private String component;


    /**
     * 路由地址
     */
    @ApiModelProperty(value = "路由地址", dataType = "java.lang.String")
    private String path;


    /**
     * 权限标识符
     */
    @ApiModelProperty(value = "权限标识符", dataType = "java.lang.String")
    private String perm;


    /**
     * 父菜单ID
     */
    @ApiModelProperty(value = "父菜单ID", dataType = "java.lang.Integer")
    private Integer parentId;


    /**
     * 重定向
     */
    @ApiModelProperty(value = "重定向", dataType = "java.lang.String")
    private String redirect;


    /**
     * 版本
     */
    @ApiModelProperty(name = "version", value = "乐观锁", dataType = "int")
    private int version;


    /**
     * 菜单图标
     */
    @ApiModelProperty(value = "菜单图标", dataType = "java.lang.String")
    private String icon;

}
